<template>
  <div>
    <div style="height: 10px; line-height: 10px; text-align: left;">
      <el-row>
        <el-col :span="24">
          <el-switch
            v-model="showFormModel"
            active-text="按表单录入"
            inactive-text="按Excel录入">
          </el-switch>
        </el-col>
      </el-row>
    </div>
    <el-divider></el-divider>
    <!-- single object to submit -->
    <SubmitByForm :showFormModel="showFormModel"/>

    <SubmitByExcel :showFormModel="showFormModel"/>
  </div>
</template>

<script>
import SubmitByForm from '@/components/SubmitByForm'
import SubmitByExcel from '@/components/SubmitByExcel'

export default {
  name: 'StudentInfoEntry',
  components: {
    SubmitByForm,
    SubmitByExcel
  },
  data () {
    return {
      showFormModel: true
    }
  }
}
</script>

<style scoped>

</style>
